- 
		Home
	
- 
Backup Migration
- 
1.1.2
- 
Code
- 
Classes
-  BMI_Ajax 
		
			
				
					
													
								
																			
											| Total Complexity | 506 | 
																			
											| Dependencies | 17 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 2,111 | 
																			
											| Lines of code | 1,554 | 
																			
											| Logical lines of code | 1,285 | 
																	
							 
													
								
																			
											| Comment lines | 158 | 
																			
											| Methods | 40 | 
																			
											| Properties | 0 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 40
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| parseFilesForBackup() | D | 24 | 55 | 127 | 
					
				| restoreBackup() | D | 21 | 52 | 165 | 
					
				| prepareAndMakeBackup() | D | 25 | 45 | 133 | 
					
				| saveFilesConfig() | D | 29 | 36 | 113 | 
					
				| scanFilesForBackup() | D | 33 | 32 | 85 | 
					
				| createBackup() | C | 36 | 32 | 68 | 
					
				| __construct() | C | 36 | 31 | 69 | 
					
				| saveOtherOptions() | C | 34 | 30 | 79 | 
					
				| handleQuickMigration() | C | 29 | 27 | 114 | 
					
				| calculateCron() | C | 33 | 26 | 91 | 
					
				| migrationExceptionHandler() | B | 36 | 21 | 68 | 
					
				| backupErrorHandler() | B | 40 | 19 | 52 | 
					
				| saveStorageConfig() | A | 45 | 10 | 39 | 
					
				| checkIfPHPCliExist() | A | 48 | 9 | 31 | 
					
				| saveStorageTypeConfig() | A | 47 | 8 | 32 | 
					
				| isMigrationLocked() | S | 53 | 7 | 19 | 
					
				| resetLatestLogs() | S | 51 | 6 | 24 | 
					
				| downloadFile() | S | 47 | 5 | 36 | 
					
				| removeBackupFile() | S | 54 | 6 | 19 | 
					
				| dirSize() | S | 55 | 6 | 18 | 
					
				| sendTestMail() | S | 59 | 5 | 13 | 
					
				| isRunningBackup() | S | 60 | 5 | 11 | 
					
				| toggleBackupLock() | S | 57 | 4 | 15 | 
					
				| makeBackupName() | S | 48 | 2 | 33 | 
					
				| getDynamicNames() | S | 57 | 3 | 17 | 
					
				| siteURL() | S | 69 | 4 | 5 | 
					
				| revertUnameProcess() | S | 64 | 3 | 9 | 
					
				| stopBackup() | S | 63 | 3 | 10 | 
					
				| fixUnameFunction() | S | 61 | 2 | 11 | 
					
				| resetConfiguration() | S | 70 | 2 | 6 | 
					
				| migrationErrorHandler() | S | 70 | 1 | 6 | 
					
				| backupExceptionHandler() | S | 70 | 1 | 6 | 
					
				| fixLitespeed() | S | 76 | 1 | 4 | 
					
				| revertLitespeed() | S | 76 | 1 | 4 | 
					
				| continueRestoreProcess() | S | 91 | 1 | 2 | 
					
				| getBackupsList() | S | 69 | 1 | 6 | 
					
				| handleChunkUpload() | S | 80 | 1 | 3 | 
					
				| getSiteData() | S | 69 | 1 | 6 | 
					
				| dismissErrorNotice() | S | 81 | 1 | 3 | 
					
				| debugging() | S | 91 | 1 | 2 |